<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html lang="en">
	<head>
		<title>开溜儿网后台管理系统</title>
		<meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link rel="stylesheet" href="css/bootstrap.min.css" />
		<link rel="stylesheet" href="css/bootstrap-responsive.min.css" />
		<link rel="stylesheet" href="css/uniform.css" />
		<link rel="stylesheet" href="css/select2.css" />		
		<link rel="stylesheet" href="css/unicorn.main.css" />
		<link rel="stylesheet" href="css/unicorn.grey.css" class="skin-color" />	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
	<body>
		
		
<div id="header">
			<h1><a href="./index.jsp">开溜儿网后台管理系统</a></h1>		
		</div>
		<div id="user-nav" class="navbar navbar-inverse">
            <ul class="nav btn-group">
                <li class="btn btn-inverse"><a title="" href="<%=path%>/admin/myManage.do"><i class="icon icon-user"></i> <span class="text">个人中心</span></a></li>
                </li>
                <li class="btn btn-inverse"><a title="" href="<%=path%>/admin/logout.do"><i class="icon icon-share-alt"></i> <span class="text">注销</span></a></li>
            </ul>
        </div>
            
		<div id="sidebar">
			<ul>
				<li class="submenu">
					<a href="#"><i class="icon icon-th-list"></i> <span>用户管理</span> <span class="label">2</span></a>
					<ul>
						<li><a href="addUser.jsp">增加用户</a></li>
						<li><a href="<%=path%>/user/1.do">查询用户</a></li>
					</ul>
				</li>
				<li class="submenu">
					<a href="#"><i class="icon icon-th-list"></i> <span>地区管理</span> <span class="label">4</span></a>
					<ul>
						<li><a href="addForeignProvince.jsp">增加国家与省份</a></li>
						<li><a href="<%=path%>/area/findPF.do">查询国家与省份</a></li>
						<li><a href="<%=path%>/area/1.do">查询城市</a></li>
						<li><a href="addCity.jsp">增加城市</a></li>
					</ul>
				</li>
				<li class="submenu">
					<a href="#"><i class="icon icon-th-list"></i> <span>攻略管理</span> <span class="label">2</span></a>
					<ul>
						<li><a href="addGonglue.jsp">增加攻略</a></li>
						<li><a href="<%=path%>/gonglue/1.do">查询攻略</a></li>
					</ul>
				</li>
				<li><a href="<%=path%>/qaManage/1.do"><i class="icon icon-home"></i> <span>问答管理</span></a></li>
				<li><a href="<%=path%>/remarkManage/1.do"><i class="icon icon-home"></i> <span>点评管理</span></a></li>
				<li><a href="<%=path%>/travalNoteManage/1.do"><i class="icon icon-home"></i> <span>游记管理</span></a></li>
				<li><a href="<%=path%>/admin/myManage.do"><i class="icon icon-home"></i> <span>个人管理</span></a></li>
				<li><a href="mapManage.jsp"><i class="icon icon-home"></i> <span>地图管理</span></a></li>
			</ul>
		</div>
		
		<div id="style-switcher">
			<i class="icon-arrow-left icon-white"></i>
			<span>Style:</span>
			<a href="#grey" style="background-color: #555555;border-color: #aaaaaa;"></a>
			<a href="#blue" style="background-color: #2D2F57;"></a>
			<a href="#red" style="background-color: #673232;"></a>
		</div>
		
		<div id="content">
			<div id="content-header">
				<h1>增加攻略</h1>
			</div>
			<div id="breadcrumb">
				<a href="index.html" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
				<a href="#">攻略管理</a>
				<a href="#" class="current">新增攻略</a>
			</div>
			<div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-align-justify"></i>									
								</span>
								<h5>上传攻略</h5>
							</div>
							<div class="widget-content nopadding">
								<form class="form-horizontal" method="post" action="<%=path%>/gonglue/addGonglue.do" enctype="multipart/form-data" name="basic_validate" id="basic_validate" novalidate="novalidate" />
									<div class="control-group">
										<label class="control-label">城市：</label>
										<div class="controls">
											<input type="text" name="city_name" id="required" />
										</div>
									</div>
                                    <div class="control-group">
										<label class="control-label">攻略文件上传</label>
										<div class="controls">
											<input name="myfile" type="file"/>
										</div>
									</div>
                                    <div class="form-actions">
                                        <input type="submit" value="上传" class="btn btn-primary" />
                                    </div>
                                </form>
							</div>
						</div>			
					</div>
				</div>
			<div class="row-fluid">
				<div id="footer" class="span12">
					Copyright © 2014 Kailiuer. All Rights Reserved<br /> 开溜儿网. 版权所有
				</div>
			</div>
		</div>
		</div>
		
		
            
            <script src="js/jquery.min.js"></script>
            <script src="js/jquery.ui.custom.js"></script>
            <script src="js/bootstrap.min.js"></script>
            <script src="js/jquery.uniform.js"></script>
            <script src="js/select2.min.js"></script>
            <script src="js/jquery.validate.js"></script>
            <script src="js/unicorn.js"></script>
            <script src="js/unicorn.form_validation.js"></script>
	</body>
</html>
